﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;

namespace EncuentraWEB
{
    public  class ArqJsCls
    {
        public  void Msg(Control ctrl, string strText)
        {
            var scriptPopUp = new System.Text.StringBuilder();
            scriptPopUp.Append("window.alert('"+ strText +"')");
            ScriptManager.RegisterStartupScript(ctrl, ctrl.GetType(), "VENTANAPopUp", scriptPopUp.ToString(), true);
        }
        public void Funciones(Control ctrl, string strText)
        {
            var scriptPopUp = new System.Text.StringBuilder();
            scriptPopUp.Append(strText);
            ScriptManager.RegisterStartupScript(ctrl, ctrl.GetType(), "VENTANAPopUp", scriptPopUp.ToString(), true);
        }


    }
}
